#include "stdafx.h"

extern "C"
{
	DLLEXPORT BOOL AccAPIOpen()
	{
		return MzAccOpen();
	}

	DLLEXPORT void  AccAPIClose()
	{
		MzAccClose();
	}

	DLLEXPORT DWORD  AccAPIGetMessage()
	{
		return MzAccGetMessage();
	}

	DLLEXPORT BOOL AccAPIGetXYZ(signed char *x_axis, signed char *y_axis, signed char *z_axis)
	{
		return MzAccGetXYZ(x_axis, y_axis, z_axis);
	}

	DLLEXPORT BOOL  AccAPIGetX(signed char  *x_axis)
	{
		return MzAccGetX(x_axis);
	}

	DLLEXPORT BOOL  AccAPIGetY(signed char  *y_axis)
	{
		return MzAccGetY(y_axis);
	}

	DLLEXPORT BOOL  AccAPIetZ(signed char  *z_axis)
	{
		return MzAccGetZ(z_axis);
	}
};

/*

extern "C" __declspec(dllexport) int  MzAccGetCurrentPos();

extern "C" __declspec(dllexport) BOOL  MzAccRegScreenRotateNotify(HWND hWndNotify, DWORD dwNotifyMsg);

extern "C" __declspec(dllexport) void  MzAccCancelScreenRotateNotify(HWND hWndNotify);

extern "C" __declspec(dllexport) int  MzAccPauseNotify();

extern "C" __declspec(dllexport) int  MzAccResumeNotify();

extern "C" __declspec(dllexport) BOOL  MzAccGetX(signed char  *x_axis);

extern "C" __declspec(dllexport) BOOL  MzAccGetY(signed char  *y_axis);

extern "C" __declspec(dllexport) BOOL  MzAccGetZ(signed char  *z_axis);



extern "C" __declspec(dllexport) void MzAccCancelAccInterrupt(HWND hWndNotify);
*/